package com.woniu.core.exception.token;

public enum TokenExceptionCode {

    NO_LOGIN(401,"未登录"),

    TOKEN_ERI(401,"TOKEN解析错误"),
    TOKEN_FORMAT_ERROR(401,"token格式错误"),
    NO_DATA(401,"Token为空");

    private Integer code;
    private String message;

    public Integer getCode() {
        return code;
    }
    public String getMessage() {
        return message;
    }
    TokenExceptionCode(Integer code, String message){
        this.code = code;
        this.message = message;
    }
}
